package com.wh.org.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wh.basic.vo.AjaxResult;
import com.wh.org.dto.EmployeeDto;
import com.wh.org.pojo.Employee;
import com.wh.user.pojo.LoginInfo;
import com.wh.user.pojo.modify;

import java.util.List;

public interface IEmployeeService {

    void add(Employee employee);
    void del(Long id);
    //修改员工信息 一个对象
    void upd(Employee employee);
    //修改员工状态
    void updState(Long id);
    List<Employee> findAll();
    Employee findById(Long id);
    //批量删除
    void patchDel(Long[] ids);

    IPage<Employee> findByPage(EmployeeDto employeeDto);

    List<Employee> listByShopId(Long shopId);

    void modify(modify modify);

    AjaxResult modifyPassword(modify modify);

    boolean isAccountExist(String value);

    boolean isPhoneExist(String value);
}
